Microsoft Toolbox Activities
Note: Use caution when building or editing a workflow. For further advice or to arrange training, contact your professional services consultant.
The Microsoft Toolbox includes statements that help structure your workflow.
Note: Refer to Use Workflow Activities for further information.
The following groups are displayed in the Microsoft Toolbox panel:
The activities available in the Control Flow group are described in the following table.
Activity | Does this... |
---|---|
DoWhile | Executes the activity contained within the body until the specified condition is met. |
Flowchart | Allows the creation of a workflow containing flownode objects (for example: FlowDecision) and links. |
FlowDecision | Produces one of two possible outcomes from a flownode. |
ForEachWithBodyFactory<T> | Creates a new ForEach<T> activity for the activity contained in the body. |
If |
Branches actions that can be used to specify a condition where the outcome is either true or false. Note: Refer to the If activity description for more information. |
Parallel | Executes all activities contained in the body simultaneously. |
ParallelForEachWithBodyFactory<T> | Creates a new ParallelForEach<T> activity for the activity contained in the body. |
Sequence |
Containers for a series of events within an activity. Note: Refer to the Sequence activity description for more information. |
Switch<T> | Selects an activity to execute, based on the value of the expression. |
While | Executes the activity contained in the body while the condition is true. |
The activities available in the Runtime group are described in the following table.
Activity | Does this... |
---|---|
Assign |
Assigns a value to a variable. Note: Refer to the Assign activity description for more information. |
Delay | Creates a timed delay. |
InvokeMethod | Calls a method for a specified object or type. |
TerminateWorkflow | Terminates the workflow. |
WriteLine | Writes specified text to a TextWriter. |
The activities available in the Collection group are described in the following table.
Activity | Does this... |
---|---|
AddToCollection<T> | Adds an item to a collection class. |
ClearCollection<T> | Clears items from a collection class. |
ExistsInCollection<T> | Confirms whether an item is included within a collection class. |
RemoveFromCollecton<T> | Removes an item from a collection. |
The activities available in the Error Handling group are described in the following table.
Activity | Does this... |
---|---|
Rethrow |
Reproduces a previously thrown exception. Note: The Rethrow activity must be the child of a Catch handler or a TryCatch activity. |
Throw | Produces an exception. |
TryCatch |
Handles errors when an exception occurs within a workflow. Note: Refer to the TryCatch activity description for more information. |